package oop.constructor;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Student
 * Package: oop.constructor
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-20
 * Time: 15:19
 */

public class Student {

    private String name;
    private int age;
    private String school;
    private String major;

    public Student(String n,int a){
        name = n;
        age = a;
    }

    public Student(String n,int a,String s){
        name = n;
        age = a;
        school = s;
    }

}
